package com.health.framework.model;

import java.util.ArrayList;
import java.util.List;

public class Menu {

    private Integer id;
    private String name;
    private List<MenuItem> items = new ArrayList<MenuItem>();
    
    public void addMenuItem(MenuItem item) {
        items.add(item);
    }
    
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public List<MenuItem> getItems() {
        return items;
    }
    public void setItems(List<MenuItem> items) {
        this.items = items;
    }
}
